From: Boyuan Yang <073plan@gmail.com>
Date: Fri, 29 Jun 2018 16:20:59 +0800
Subject: Use proper library version for libproxychains

Forwarded: not-needed
---
 Makefile        | 4 ++--
 src/proxyresolv | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index fe5f8c6..e1a1049 100644
--- a/Makefile
+++ b/Makefile
@@ -32,11 +32,11 @@ AR      = $(CROSS_COMPILE)ar
 RANLIB  = $(CROSS_COMPILE)ranlib
 SOCKET_LIBS =
 
-LDSO_SUFFIX = so
+LDSO_SUFFIX = so.4
 LD_SET_SONAME = -Wl,-soname=
 INSTALL = ./tools/install.sh
 
-LDSO_PATHNAME = libproxychains4.$(LDSO_SUFFIX)
+LDSO_PATHNAME = libproxychains.$(LDSO_SUFFIX)
 
 SHARED_LIBS = $(LDSO_PATHNAME)
 ALL_LIBS = $(SHARED_LIBS)
diff --git a/src/proxyresolv b/src/proxyresolv
index ae932c2..032b77e 100755
--- a/src/proxyresolv
+++ b/src/proxyresolv
@@ -14,5 +14,5 @@ if [ $# = 0 ] ; then
 fi
 
 
-export LD_PRELOAD=libproxychains4.so
+export LD_PRELOAD=libproxychains.so.4.0.0
 dig $1 @$DNS_SERVER +tcp | awk '/A.?[0-9]+\.[0-9]+\.[0-9]/{print $5;}'
